﻿

html {
    scroll-behavior: smooth;
}

/* مساحة علوية للهيدر الثابت في الصفحات الداخلية */
body.inner-page {
    padding-top: 80px;
}

/* تعديلات خاصة للجوال لضمان عدم القص */
@media (max-width: 768px) {
    .hero-container {
        height: 50vh; /* تقليل الارتفاع ليناسب شاشة الجوال */
        min-height: 350px;
        border-bottom-left-radius: 40px; /* انحناء أقل حدة للموبايل */
        border-bottom-right-radius: 40px;
        background-position: 70% center; /* تحريك الصورة قليلاً لتظهر العناصر المهمة */
    }

    .hero-text h1 {
        font-size: 1.8rem !important; /* تصغير الخط لضمان عدم خروجه عن الشاشة */
        padding: 0 20px;
    }
}

.hero-text {
    z-index: 5;
    width: 100%;
}

/* --- الكروت المتداخلة --- */
.overlap-section {
    position: relative;
    margin-top: -100px;
    z-index: 100;
    padding-bottom: 60px;
}

.custom-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    transition: 0.3s;
    border: 1px solid rgba(0,0,0,0.03);
    height: 100%;
}

    .custom-card:hover {
        transform: translateY(-10px);
        border-color: #00A3E0;
    }

.card-content {
    text-align: right;
    flex-grow: 1;
    margin-right: 15px;
}

    .card-content h6 {
        color: #002D72;
        font-weight: 800;
        margin: 0;
    }

/* --- قسم الخدمات --- */
.services-section {
    background-color: #fbfcfd;
    padding: 80px 0;
}

.section-title {
    color: #002D72;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 50px;
    text-align: center;
}

    .section-title::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 50px;
        height: 4px;
        background: #00A3E0;
    }

.s-card {
    background: #fff;
    border-radius: 20px;
    padding: 35px 20px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.03);
    transition: 0.4s;
    height: 100%;
}

    .s-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0,45,114,0.06);
    }

.icon-box {
    width: 70px;
    height: 70px;
    background: #f0f7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #00A3E0;
    font-size: 1.8rem;
}

/* --- قسم الأخبار (السلايدر) --- */
.news-section {
    padding: 100px 0;
    background: radial-gradient(circle at top left, #f8fbff 0%, #ffffff 100%);
    position: relative;
}

    /* زخرفة خلفية بسيطة */
    .news-section::before {
        content: "NEWS";
        position: absolute;
        top: 20px;
        left: 20px;
        font-size: 10rem;
        font-weight: 900;
        color: rgba(0, 45, 114, 0.02);
        z-index: 0;
    }

.news-swiper {
    padding: 40px 10px 80px 10px !important;
}

/* الكرت الحديث */
.modern-news-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    height: 100%;
    border: 1px solid rgba(0, 45, 114, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 45, 114, 0.03);
}

    .modern-news-card:hover {
        transform: translateY(-15px);
        box-shadow: 0 30px 60px rgba(0, 45, 114, 0.12);
        border-color: #00A3E0;
    }

/* حاوية الصورة مع الزوايا */
.img-container {
    position: relative;
    height: 240px;
    margin: 12px;
    border-radius: 18px;
    overflow: hidden;
}

    .img-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.8s ease;
    }

.modern-news-card:hover .img-container img {
    transform: scale(1.1) rotate(2deg);
}

/* ملصق التصنيف الزجاجي */
.category-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 6px 18px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 2;
}

.news-body {
    padding: 10px 25px 30px 25px;
    text-align: right;
}

.news-date {
    font-size: 0.8rem;
    color: #00A3E0;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.news-body h5 {
    color: #002D72;
    font-weight: 800;
    font-size: 1.25rem;
    line-height: 1.5;
    margin-bottom: 15px;
    height: 3.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-body p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
    height: 3.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* زر "اقرأ المزيد" بتصميم جديد */
.read-more-btn {
    display: inline-flex;
    align-items: center;
    color: #002D72;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: 0.3s;
}

    .read-more-btn i {
        margin-right: 8px;
        width: 30px;
        height: 30px;
        background: #f0f7ff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.7rem;
        transition: 0.3s;
    }

.modern-news-card:hover .read-more-btn i {
    background: #00A3E0;
    color: white;
    transform: translateX(-5px);
}

/* تخصيص نقاط التنقل */
.swiper-pagination-bullet {
    width: 12px;
    height: 6px;
    border-radius: 3px;
    background: #cbd5e0;
    transition: all 0.3s;
}

.swiper-pagination-bullet-active {
    width: 30px;
    background: #00A3E0 !important;
}

/* منع تداخل العناصر قبل تحميل Swiper */
.swiper:not(.swiper-initialized) .swiper-wrapper {
    display: flex;
    overflow-x: auto;
}

.events-section {
    padding: 90px 0;
    background-color: #ffffff;
}

/* حاوية الحدث */
.event-item {
    display: flex;
    align-items: center;
    background: #fcfdfe;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 45, 114, 0.05);
    transition: all 0.4s ease;
    text-decoration: none !important;
}

/* --- سكشن الأجندة الحديث --- */
.events-modern-section {
    padding: 80px 0;
    background: #fcfdfe;
}

/* العنوان */
.section-header-styled {
    position: relative;
}

.header-line {
    width: 60px;
    height: 5px;
    background: #00A3E0;
    border-radius: 10px;
    margin-bottom: 15px;
    margin-left: auto;
}

.main-title {
    color: #002D72;
    font-weight: 900;
    font-size: 2.2rem;
    margin: 0;
}

.sub-title {
    color: #6c757d;
    font-size: 1.1rem;
}

.view-all-link {
    color: #00A3E0;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

    .view-all-link:hover {
        color: #002D72;
        transform: translateX(-5px);
    }

/* الكروت */
.events-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 950px;
    margin: 0 auto;
}

.modern-event-card {
    background: #fff;
    border-radius: 25px;
    border: 1px solid rgba(0, 45, 114, 0.04);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
}

.card-inner-link {
    display: flex;
    align-items: center;
    padding: 20px 30px;
    text-decoration: none !important;
    flex-direction: row-reverse; /* ترتيب للعربي */
}

.modern-event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 45, 114, 0.08);
    border-color: #00A3E0;
}

/* تصميم التقويم الصغير */
.calendar-thumb {
    min-width: 100px;
    height: 110px;
    background: #f8fbff;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #eef2f6;
    transition: 0.3s;
}

/* --- سكشن سلايدر الأحداث --- */
.events-slider-section {
    padding: 60px 0;
    background: #fff;
}

.events-swiper {
    padding: 20px 10px 60px 10px !important;
}

.event-card-horizontal {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

    .event-card-horizontal:hover {
        transform: translateY(-10px);
        border-color: #00A3E0;
        box-shadow: 0 20px 40px rgba(0, 45, 114, 0.1);
    }

.event-card-body {
    display: flex;
    flex-direction: row-reverse; /* ترتيب عربي */
    padding: 25px;
    align-items: center;
    gap: 20px;
}

.event-date-badge {
    background: linear-gradient(135deg, #002D72, #0056b3);
    color: white;
    min-width: 75px;
    height: 85px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

    .event-date-badge .day {
        font-size: 1.6rem;
        font-weight: 800;
        line-height: 1;
    }

    .event-date-badge .month {
        font-size: 0.8rem;
        text-transform: uppercase;
        margin-top: 5px;
        opacity: 0.9;
    }

.event-content-right {
    flex-grow: 1;
    text-align: right;
}

.event-title {
    color: #002D72;
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8rem;
}

.event-meta-info {
    color: #6c757d;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

    .event-meta-info i {
        color: #00A3E0;
    }

.event-btn-link {
    color: #00A3E0;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: 0.3s;
}

    .event-btn-link:hover {
        color: #002D72;
        gap: 10px;
    }

.all-events-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border: 1.5px solid #002D72;
    color: #002D72;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

    .all-events-btn:hover {
        background: #002D72;
        color: #fff;
    }

/* تخصيص الـ Pagination للأحداث */
.events-pagination .swiper-pagination-bullet-active {
    background: #002D72 !important;
}



/* --- سكشن نماذج الرعاية --- */
.care-models-section {
    padding: 80px 0;
    background: #fff;
    overflow: hidden;
}

/* حاوية الكروت (Flexbox لجعلها بجانب بعض) */
.care-models-wrapper {
    display: flex;
    gap: 15px;
    height: 500px; /* طول الكروت الثابت */
    width: 100%;
}

/* تصميم الكرت الأساسي */
.model-card {
    position: relative;
    flex: 1; /* الكروت تأخذ مساحة متساوية في البداية */
    background-size: cover;
    background-position: center;
    border-radius: 30px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1); /* تأثير ناعم جداً */
}

    /* تأثير التكبير عند وضع المؤشر */
    .model-card:hover {
        flex: 3; /* الكرت يكبر ليأخذ مساحة أكبر من جيرانه */
    }

/* الطبقة الشفافة فوق الصورة لضمان وضوح النص */
.model-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 45, 114, 0.9) 0%, rgba(0, 45, 114, 0.4) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
}

/* محتوى الكرت */
.model-content {
    color: white;
    width: 100%;
    text-align: right;
}

.model-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.model-title {
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 15px;
    white-space: nowrap; /* يمنع نزول النص لسطر جديد أثناء صغر الكرت */
}

/* الوصف (مخفي جزئياً ويظهر عند التكبير) */
.model-description {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    transform: translateY(20px);
}

.model-card:hover .model-description {
    max-height: 200px;
    opacity: 1;
    transform: translateY(0);
    margin-top: 10px;
}

.model-description p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.btn-read-more {
    display: inline-block;
    margin-top: 15px;
    color: #00A3E0;
    text-decoration: none;
    font-weight: 700;
    background: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    transition: 0.3s;
}

    .btn-read-more:hover {
        background: #00A3E0;
        color: white;
    }

/* للموبايل: تتحول الكروت لأسفل بعض */
@media (max-width: 992px) {
    .care-models-wrapper {
        flex-direction: column;
        height: auto;
    }

    .model-card {
        height: 300px;
        flex: none;
    }

        .model-card:hover {
            flex: none;
        }

    .model-description {
        max-height: 150px;
        opacity: 1;
        transform: translateY(0);
    }
}



/* ===== شريط المنشآت — الأنماط موجودة في Default.aspx مباشرة ===== */
.hospitals-ticker-section {
    padding: 80px 0 70px;
    background: linear-gradient(135deg, #001a4d 0%, #002D72 55%, #003d99 100%) !important;
    overflow: hidden;
    position: relative;
}

.hospitals-ticker-title {
    color: #fff !important;
    font-size: 2rem;
}

.hospitals-ticker-sub {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 1rem;
}

/* صف التيكر */
.ticker-row-wrap {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 8px 0;
}

/* تلاشي الحواف */
.ticker-row-wrap::before,
.ticker-row-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 3;
    pointer-events: none;
}

.ticker-row-wrap::before {
    right: 0;
    background: linear-gradient(to left, #001a4d 40%, transparent);
}

.ticker-row-wrap::after {
    left: 0;
    background: linear-gradient(to right, #001a4d 40%, transparent);
}

/* المسار المتحرك — صف أفقي لا ينكسر */
.ticker-track {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-orient: horizontal !important;
    -webkit-box-direction: normal !important;
    -ms-flex-direction: row !important;
    flex-direction: row !important;
    -ms-flex-wrap: nowrap !important;
    flex-wrap: nowrap !important;
    gap: 16px;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    animation: tickerScrollLtr 40s linear infinite;
    padding: 8px 0;
    will-change: transform;
}

.ticker-track--reverse {
    animation: tickerScrollRtl 40s linear infinite;
}

.ticker-row-wrap:hover .ticker-track {
    animation-play-state: paused;
}

@keyframes tickerScrollLtr {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes tickerScrollRtl {
    0%   { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* كرت اللوجو */
.ticker-card {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex !important;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    text-decoration: none !important;
    width: 150px;
    min-width: 150px;
    max-width: 150px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    vertical-align: top;
    box-sizing: border-box;
    transition: background 0.3s, transform 0.3s, border-color 0.3s;
}

.ticker-card:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-5px);
    text-decoration: none !important;
}

/* دائرة اللوجو — محدودة الحجم دائماً */
.ticker-logo-wrap {
    width: 75px !important;
    height: 75px !important;
    min-width: 75px;
    min-height: 75px;
    background: #ffffff;
    border-radius: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.ticker-logo-wrap img {
    width: 56px !important;
    height: 56px !important;
    max-width: 56px !important;
    max-height: 56px !important;
    object-fit: contain;
    display: block;
}

.ticker-hosp-name {
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
    width: 100%;
    display: block;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
}



/* ================= FEATURED NEWS — SPLIT LAYOUT ================= */
.featured-wrapper-section {
    padding: 70px 0 90px;
    background: #f4f7fc;
}

/* رأس السكشن */
.fn-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.fn-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #002D72;
    color: #fff;
    padding: 8px 22px;
    border-radius: 50px;
    font-size: .9rem;
    font-weight: 700;
}

.fn-label i { color: #f9c74f; }

.fn-all-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #002D72;
    font-weight: 700;
    text-decoration: none;
    font-size: .95rem;
    transition: gap .25s;
}
.fn-all-link:hover { gap: 12px; color: #00A3E0; }

/* السلايدر */
.fn-slider { position: relative; }

/* ─── الكرت ─── */
.fn-card {
    display: flex;
    height: 460px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,45,114,.14);
    background: #fff;
}

/* عمود الصورة */
.fn-image-col {
    position: relative;
    width: 58%;
    flex-shrink: 0;
    overflow: hidden;
}

.fn-image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .6s ease;
    display: block;
}

.fn-card:hover .fn-image-col img { transform: scale(1.04); }

/* شارة النوع فوق الصورة */
.fn-type-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: #00A3E0;
    color: #fff;
    padding: 5px 18px;
    border-radius: 50px;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .5px;
    box-shadow: 0 4px 12px rgba(0,163,224,.35);
}

/* عمود النص */
.fn-text-col {
    flex: 1;
    background: linear-gradient(160deg, #002D72 0%, #003f9e 60%, #0056cc 100%);
    display: flex;
    align-items: center;
    padding: 0 48px;
}

.fn-text-inner {
    width: 100%;
}

/* التاريخ */
.fn-date-row {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.6);
    font-size: .85rem;
    margin-bottom: 16px;
}

/* العنوان */
.fn-title {
    color: #fff;
    font-size: 1.65rem;
    font-weight: 900;
    line-height: 1.5;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* الملخص */
.fn-summary {
    color: rgba(255,255,255,.78);
    font-size: .97rem;
    line-height: 1.8;
    margin-bottom: 28px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* زر القراءة */
.fn-read-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #002D72;
    padding: 11px 30px;
    border-radius: 50px;
    font-weight: 800;
    font-size: .95rem;
    text-decoration: none;
    transition: .3s;
    box-shadow: 0 6px 20px rgba(0,0,0,.15);
}
.fn-read-btn:hover {
    background: #00A3E0;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,163,224,.35);
}

/* ─── أزرار التنقل ─── */
.fn-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #fff;
    color: #002D72;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,.18);
    cursor: pointer;
    transition: .25s;
    font-size: .95rem;
}
.fn-nav:hover { background: #002D72; color: #fff; }
.fn-nav-next { left: -18px; }
.fn-nav-prev { right: -18px; }

/* ─── نقاط التصفح ─── */
.fn-pagination {
    position: relative !important;
    margin-top: 22px;
    text-align: center;
}
.fn-pagination .swiper-pagination-bullet {
    width: 10px; height: 10px;
    background: #c0cce0;
    opacity: 1;
    transition: .3s;
}
.fn-pagination .swiper-pagination-bullet-active {
    background: #002D72;
    width: 26px;
    border-radius: 5px;
}

/* ─── موبايل ─── */
@media (max-width: 768px) {
    .fn-card { flex-direction: column; height: auto; }
    .fn-image-col { width: 100%; height: 240px; }
    .fn-text-col { padding: 30px 24px; }
    .fn-title { font-size: 1.25rem; }
    .fn-nav { display: none; }
}


/* ملصق التصنيف */
.category-pill {
    display: inline-block;
    background: #00A3E0;
    color: white;
    padding: 5px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
}

/* الزر الحديث */
.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    color: #002D72;
    padding: 12px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s all ease;
}

    .action-btn:hover {
        background: #00A3E0;
        color: #ffffff;
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0, 163, 224, 0.3);
    }

/* تحسين الخطوط لتناسب الحجم الأصغر */
.main-title {
    font-size: 2.2rem; /* أصغر قليلاً لتناسب السكشن */
    font-weight: 800;
}

.main-summary {
    font-size: 1.1rem;
    opacity: 0.95;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* يمنع النص من تجاوز 3 أسطر */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* أزرار التنقل */
.floating-nav {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.1);
    width: 45px !important;
    height: 45px !important;
    border-radius: 50%;
    backdrop-filter: blur(5px);
}

    .floating-nav:after {
        font-size: 1rem !important;
    }

/* النقاط أسفل الكرت */
.floating-dots {
    bottom: 25px !important;
}

    .floating-dots .swiper-pagination-bullet {
        background: #fff !important;
    }


/* السكشن العام */
/* ═══════════════════════════════════════════════════════════
   قسم الاعتمادات — Premium Light Design
═══════════════════════════════════════════════════════════ */

.ac-section {
    padding: 88px 0 80px;
    background: #f0f4f8;
    position: relative;
    overflow: hidden;
}

/* ── أيقونات خلفية متحركة (شفافة زرقاء) ── */
.ac-bg-icons {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.ac-bg-icon {
    position: absolute;
    color: rgba(0,163,224,.10);
    animation: ac-float linear infinite;
    line-height: 1;
}
/* مواضع + أحجام كل أيقونة */
.ac-bg-icon:nth-child(1)  { font-size: 56px; top: 8%;  left: 4%;  animation-duration: 14s; animation-delay: 0s; }
.ac-bg-icon:nth-child(2)  { font-size: 40px; top: 60%; left: 2%;  animation-duration: 18s; animation-delay: -4s; }
.ac-bg-icon:nth-child(3)  { font-size: 70px; top: 20%; left: 14%; animation-duration: 22s; animation-delay: -2s; }
.ac-bg-icon:nth-child(4)  { font-size: 34px; top: 75%; left: 18%; animation-duration: 16s; animation-delay: -7s; }
.ac-bg-icon:nth-child(5)  { font-size: 50px; top: 5%;  left: 38%; animation-duration: 20s; animation-delay: -1s; }
.ac-bg-icon:nth-child(6)  { font-size: 42px; top: 80%; left: 45%; animation-duration: 24s; animation-delay: -9s; }
.ac-bg-icon:nth-child(7)  { font-size: 62px; top: 15%; right: 14%;animation-duration: 17s; animation-delay: -3s; }
.ac-bg-icon:nth-child(8)  { font-size: 36px; top: 70%; right: 8%; animation-duration: 21s; animation-delay: -6s; }
.ac-bg-icon:nth-child(9)  { font-size: 48px; top: 40%; right: 3%; animation-duration: 19s; animation-delay: -5s; }
.ac-bg-icon:nth-child(10) { font-size: 30px; top: 50%; left: 28%; animation-duration: 15s; animation-delay: -8s; }
.ac-bg-icon:nth-child(11) { font-size: 44px; top: 30%; right: 28%;animation-duration: 23s; animation-delay: -2s; }
.ac-bg-icon:nth-child(12) { font-size: 38px; top: 88%; right: 22%;animation-duration: 12s; animation-delay: -10s;}

@keyframes ac-float {
    0%   { transform: translateY(0)   rotate(0deg)   scale(1); }
    33%  { transform: translateY(-18px) rotate(6deg)  scale(1.05); }
    66%  { transform: translateY(-8px)  rotate(-4deg) scale(.97); }
    100% { transform: translateY(0)   rotate(0deg)   scale(1); }
}

/* ── العنوان الفوقي (eyebrow) ── */
.ac-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #00A3E0;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .8px;
    margin-bottom: 14px;
}
.ac-eyebrow-dot {
    width: 6px; height: 6px;
    background: #00A3E0;
    border-radius: 50%;
    display: inline-block;
}

/* ── العنوان الرئيسي ── */
.ac-title {
    color: #002D72;
    font-size: clamp(1.9rem, 3.5vw, 2.7rem);
    font-weight: 800;
    margin-bottom: 0;
    line-height: 1.25;
}
.ac-title em {
    font-style: normal;
    color: #00A3E0;
    position: relative;
}
.ac-title em::after {
    content: '';
    position: absolute;
    bottom: -2px; right: 0; left: 0;
    height: 3px;
    background: linear-gradient(90deg, #00A3E0, transparent);
    border-radius: 2px;
}

/* فاصل تحت العنوان */
.ac-title-rule {
    width: 52px; height: 3px;
    background: linear-gradient(90deg, #00A3E0, #003f7f);
    border-radius: 3px;
    margin: 16px auto;
}

.ac-subtitle {
    color: #6b7a8d;
    font-size: .98rem;
    margin: 0;
}

/* ── شبكة بطاقات الاعتمادات ── */
.ac-cards-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
    padding-bottom: 12px;
}

/* البطاقة */
.ac-card {
    background: #fff;
    border-radius: 22px;
    border: 1px solid #dce8f5;
    padding: 36px 32px 30px;
    width: 230px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    position: relative;
    overflow: hidden;
    cursor: default;
    transition: transform .38s cubic-bezier(.34,1.56,.64,1),
                box-shadow .38s ease,
                border-color .3s ease;
    box-shadow: 0 3px 16px rgba(0,45,114,.06);
}

/* توهج يظهر عند hover */
.ac-card-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 220px 160px at 50% 0%,
                rgba(0,163,224,.09) 0%, transparent 70%);
    opacity: 0;
    transition: opacity .4s ease;
    pointer-events: none;
}
.ac-card:hover .ac-card-glow { opacity: 1; }

.ac-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 22px 52px rgba(0,163,224,.18),
                0 6px 18px rgba(0,45,114,.08);
    border-color: rgba(0,163,224,.35);
}

/* شارة "معتمد" */
.ac-card-top {
    align-self: flex-end;
    margin-bottom: 18px;
}
.ac-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(0,163,224,.08);
    color: #00A3E0;
    border: 1px solid rgba(0,163,224,.22);
    border-radius: 20px;
    font-size: .72rem;
    font-weight: 700;
    padding: 3px 10px;
    transition: background .3s, color .3s;
}
.ac-card:hover .ac-card-badge {
    background: #00A3E0;
    color: #fff;
}

/* منطقة الشعار */
.ac-card-logo {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}
.ac-card-logo img {
    max-height: 84px;
    max-width: 160px;
    object-fit: contain;
    transition: transform .38s ease;
}
.ac-card:hover .ac-card-logo img {
    transform: scale(1.08);
}

/* اسم الاعتماد */
.ac-card-name {
    font-size: .88rem;
    font-weight: 700;
    color: #3a4f66;
    text-align: center;
    transition: color .3s ease;
    margin-bottom: 18px;
}
.ac-card:hover .ac-card-name { color: #00A3E0; }

/* خط أسفل البطاقة */
.ac-card-line {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00A3E0, #003f7f);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .38s ease;
    border-radius: 0 0 22px 22px;
}
.ac-card:hover .ac-card-line { transform: scaleX(1); }

/* ── سلايدر الاعتمادات — جوال ── */
.ac-swiper-wrap {
    padding: 0 0 50px;
    position: relative;
}
.ac-swiper {
    width: 100%;
    padding: 8px 0 0 !important;
}
.ac-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    height: auto;
}
.ac-swiper .ac-card {
    width: 260px;
    max-width: 88vw;
}
.ac-pagination .swiper-pagination-bullet {
    background: rgba(30,154,215,.3) !important;
    opacity: 1 !important;
    width: 7px !important;
    height: 7px !important;
}
.ac-pagination .swiper-pagination-bullet-active {
    background: #1E9AD7 !important;
    width: 22px !important;
    border-radius: 4px !important;
}




/* --- تعديل قسم الخدمات الإلكترونية: خطوط بيضاء متحركة وأزرق هادئ --- */
.services-modern-section {
    position: relative;
    padding: 100px 0;
    /* تخفيف درجة الأزرق ليصبح أفتح وأكثر حداثة */
    background: linear-gradient(135deg, #00458e 0%, #002d72 100%);
    overflow: hidden;
    color: #fff;
}

/* حاوية الخطوط المتحركة */
.geometric-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    /* إنشاء نمط خطوط متقاطعة (Grid) باستخدام CSS */
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black, transparent 80%);
}

    /* تأثير الخطوط المتدرجة المتحركة باللون الأبيض */
    .geometric-bg::before {
        content: "";
        position: absolute;
        top: -100%;
        left: -100%;
        right: -100%;
        bottom: -100%;
        background: repeating-linear-gradient( 45deg, transparent, transparent 100px, rgba(255, 255, 255, 0.03) 100px, rgba(255, 255, 255, 0.03) 200px );
        animation: moveLines 20s linear infinite;
        z-index: -1;
    }

/* حركة الخطوط */
@keyframes moveLines {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(100px);
    }
}

/* إضافة "شطبات" ضوئية بيضاء متحركة (أشعة) */
.shape {
    position: absolute;
    width: 2px;
    height: 150px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.4), transparent);
    opacity: 0;
    animation: rainLines 5s infinite ease-in;
    z-index: 1;
}

.shape-1 {
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    left: 40%;
    animation-delay: 2s;
}

.shape-3 {
    left: 80%;
    animation-delay: 4s;
}

@keyframes rainLines {
    0% {
        top: -20%;
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        top: 120%;
        opacity: 0;
    }
}

/* كروت الزجاج: جعلها أكثر شفافية لتمر الخطوط خلفها */
/* كروت الزجاج (Glassmorphism) */
.glass-service-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    transition: 0.4s;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .glass-service-card:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-10px);
        border-color: #00A3E0;
    }

.icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(0, 163, 224, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #00A3E0;
    margin-bottom: 20px;
    transition: 0.4s;
}

.glass-service-card:hover .icon-wrapper {
    background: #00A3E0;
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 163, 224, 0.5);
}

.glass-service-card h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.glass-btn {
    text-decoration: none;
    color: #fff;
    font-size: 0.8rem;
    padding: 8px 15px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: 0.3s;
}

    .glass-btn:hover {
        background: #00A3E0;
        color: #fff;
    }

/* زر المزيد من خدماتنا */
.btn-more-services {
    display: inline-block;
    padding: 12px 35px;
    background: transparent;
    border: 2px solid #00A3E0;
    color: #fff;
    border-radius: 50px;
    font-weight: 700;
    transition: 0.3s;
    text-decoration: none;
}

    .btn-more-services:hover {
        background: #00A3E0;
        box-shadow: 0 10px 20px rgba(0, 163, 224, 0.3);
        color: #fff;
    }

.section-title-modern {
    font-weight: 800;
    font-size: 2.5rem;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: #00A3E0;
    margin: 15px auto;
    border-radius: 10px;
}


/* ═══════════════════════════════════════
   FOOTER — Premium Design
   ═══════════════════════════════════════ */

.ft {
    background: #020d1f;
    color: #fff;
    position: relative;
    overflow: hidden;
    font-family: inherit;
}

/* نمط نقاط خفيف في الخلفية */
.ft::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

/* دائرة ضوء في الخلفية */
.ft::after {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,45,114,.35) 0%, transparent 70%);
    pointer-events: none;
}

/* ── الشريط العلوي ── */
.ft-top-bar {
    background: linear-gradient(135deg, #002D72, #0051cc);
    padding: 10px 0;
    position: relative;
    z-index: 1;
}

.ft-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.ft-top-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .9rem;
    font-weight: 700;
    color: rgba(255,255,255,.9);
}
.ft-top-text i { color: #f87171; animation: ft-pulse 1.6s ease-in-out infinite; }
@keyframes ft-pulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.25)} }

/* أزرار السوشيال */
.ft-social { display: flex; gap: 8px; }
.ft-social-btn {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: .85rem;
    text-decoration: none;
    transition: all .25s;
    border: 1px solid rgba(255,255,255,.15);
}
.ft-social-btn:hover {
    background: #00A3E0;
    border-color: #00A3E0;
    color: #fff;
    transform: translateY(-3px);
}

/* ── المحتوى الرئيسي ── */
.ft-main {
    padding: 28px 0 20px;
    position: relative;
    z-index: 1;
}

/* ── الشعار والوصف ── */
.ft-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.ft-logo-wrap {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #002D72, #0051cc);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(0,45,114,.4);
}
.ft-logo-icon { font-size: 22px; color: #fff; }
.ft-brand-name {
    font-size: 1.1rem; font-weight: 900; color: #fff; line-height: 1.2;
}
.ft-brand-sub {
    font-size: .75rem; color: rgba(255,255,255,.45); letter-spacing: .5px;
}

.ft-about {
    color: rgba(255,255,255,.6);
    font-size: .85rem;
    line-height: 1.7;
    margin-bottom: 14px;
}

/* شارات الاعتماد */
.ft-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.ft-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 13px;
    border-radius: 50px;
    font-size: .75rem;
    font-weight: 700;
    background: rgba(0,163,224,.12);
    color: #7dd3fc;
    border: 1px solid rgba(0,163,224,.2);
}

/* ── عناوين الأعمدة ── */
.ft-col-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .88rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.ft-col-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #00A3E0;
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(0,163,224,.6);
}

/* ── الروابط ── */
.ft-links {
    list-style: none;
    padding: 0; margin: 0;
}
.ft-links li { margin-bottom: 7px; }
.ft-links a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255,255,255,.55);
    text-decoration: none;
    font-size: .88rem;
    transition: all .22s;
}
.ft-links a i { font-size: .65rem; color: #00A3E0; transition: transform .22s; }
.ft-links a:hover { color: #00A3E0; }
.ft-links a:hover i { transform: translateX(-4px); }

/* ── بطاقات التواصل ── */
.ft-contact-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 12px;
    padding: 10px 14px;
    margin-bottom: 8px;
    transition: all .25s;
}
.ft-contact-card:hover {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.14);
    transform: translateX(-4px);
}
.ft-contact-icon {
    width: 34px; height: 34px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.ft-contact-label {
    font-size: .72rem;
    color: rgba(255,255,255,.45);
    margin-bottom: 3px;
}
.ft-contact-value {
    font-weight: 800;
    font-size: .92rem;
    color: #fff;
}

/* ── الشريط السفلي ── */
.ft-bottom {
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 13px 0;
    position: relative;
    z-index: 1;
}
.ft-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
.ft-copy {
    font-size: .82rem;
    color: rgba(255,255,255,.35);
}
.ft-bottom-links {
    display: flex;
    align-items: center;
    gap: 8px;
}
.ft-bottom-links a {
    font-size: .8rem;
    color: rgba(255,255,255,.4);
    text-decoration: none;
    transition: color .2s;
}
.ft-bottom-links a:hover { color: #00A3E0; }
.ft-sep { color: rgba(255,255,255,.15); font-size: .75rem; }

/* ── داكن ── */
html.dark-mode .ft { background: #010912; }

/* ── موبايل ── */
@media (max-width: 768px) {
    .ft-top-inner { justify-content: center; }
    .ft-main { padding: 40px 0 30px; }
    .ft-bottom-inner { flex-direction: column; text-align: center; }
    .ft-contact-card:hover { transform: none; }
}




.interactive-map-section {
    background-color: #002D72; /* اللون الأساسي للتجمع */
    min-height: 700px;
}

/* تصميم الموجات المتحركة */
.map-bg-waves {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: none;
    opacity: 0.1;
}

/* حركة الموجات بسرعات مختلفة */
.wave1 {
    animation: moveWave 20s linear infinite;
    z-index: 1000;
    opacity: 0.1;
    bottom: 0;
}

.wave2 {
    animation: moveWave 15s linear infinite reverse;
    z-index: 999;
    opacity: 0.05;
    bottom: 10px;
}

.wave3 {
    animation: moveWave 30s linear infinite;
    z-index: 998;
    opacity: 0.03;
    bottom: 20px;
}

@keyframes moveWave {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* تحسينات الكرت */
.map-dashboard-card {
    border-radius: 20px !important;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.embedded-map-iframe {
    width: 100%;
    height: 500px;
    border: none;
}

/* أيقونة التجمع */
.map-icon-box {
    margin-left: 15px; /* للتناسب مع dir="rtl" */
}

@media (max-width: 992px) {
    .care-models-wrapper {
        flex-direction: column;
        height: auto;
        gap: 20px;
    }

    .model-card {
        height: 350px !important; /* زيادة الارتفاع للجوال */
        flex: none;
        width: 100%;
    }

    .model-title {
        font-size: 1.3rem !important;
        white-space: normal !important; /* السماح للنص بالنزول لسطر جديد */
    }

    .model-description {
        max-height: none !important;
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
}

@media (max-width: 768px) {
    .modern-footer {
        padding-top: 60px;
        clip-path: ellipse(150% 100% at 50% 100%); /* تقليل حدة الانحناء للجوال */
        margin-top: 0;
    }

    .contact-item {
        justify-content: center; /* توسيط عناصر التواصل في الجوال */
    }
}

@media (max-width: 768px) {
    .action-btn {
        padding: 10px 25px;
        font-size: 0.85rem;
    }

    /* إصلاح تداخل الكلام في السلايدر */
    .modern-news-card .news-body h5 {
        height: auto;
        -webkit-line-clamp: 3;
    }
}

/* إصلاح اختفاء الأيقونات في الخدمات */
.icon-wrapper i {
    display: inline-block !important;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900;
}




/* ================================================
   HERO PRO — بدون قص، يملأ الشاشة كاملة
   ================================================ */
.hero-pro {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(160deg, rgba(0,45,114,.95) 0%, rgba(0,80,160,.85) 50%, rgba(0,163,224,.70) 100%), url('img/hosmain.gif') center/cover no-repeat;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 100px;
    padding-bottom: 50px;
    box-sizing: border-box;
    z-index: 1;
}

/* تأثير الإضاءة */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.07), transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    flex: 1;
    display: flex;
    align-items: center;
}

/* ================================================
   HERO QUICK NAV — الكروت في أسفل الهيرو مباشرة
   ================================================ */
.hero-quick-nav {
    position: relative;
    z-index: 30;
    padding: 0 0 0 0;
    margin-top: 0;
}

/* الكرت — زجاجي فوق خلفية الهيرو الزرقاء */
.quick-card {
    background: rgba(255,255,255,0.13);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 16px;
    padding: 22px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255,255,255,0.25);
    height: 100%;
}

/* صندوق الأيقونة الواضحة */
.qc-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255,255,255,0.18);
    border: 1.5px solid rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    flex-shrink: 0;
    transition: all 0.35s ease;
    position: relative;
    z-index: 2;
}

/* نص الكرت */
.qc-body { flex: 1; text-align: right; position: relative; z-index: 2; }
.qc-title {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 4px 0;
    transition: color 0.3s;
}
.qc-sub {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.75);
    margin: 0;
}

/* السهم */
.qc-arrow {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: all 0.35s ease;
    position: relative; z-index: 2;
}

/* Hover */
.quick-card:hover {
    transform: translateY(-6px);
    background: rgba(255,255,255,0.22);
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
    border-color: rgba(255,255,255,0.5);
}
.quick-card:hover .qc-icon-box {
    background: #00A3E0;
    border-color: #00A3E0;
    transform: scale(1.1) rotate(-5deg);
}
.quick-card:hover .qc-arrow { background: #00A3E0; }

/* خط أبيض سفلي */
.quick-card::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0; left: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(255,255,255,0.3), #00A3E0);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s ease;
    border-radius: 0 0 18px 18px;
}
.quick-card:hover::after { transform: scaleX(1); }

/* ===== z-index للقسم الذي يلي الكروت — مُدمج في .featured-wrapper-section أعلاه ===== */

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .hero-pro { padding-top: 90px; padding-bottom: 40px; }
}
@media (max-width: 576px) {
    .hero-pro { padding-top: 80px; padding-bottom: 30px; }
    .quick-card { padding: 16px 12px; }
    .qc-bg-icon { font-size: 3.5rem; }
}


.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient( circle at top right, rgba(255,255,255,0.08), transparent 60% );
}

/* .hero-content معرّفة أعلاه ضمن HERO PRO */

.hero-text {
    max-width: 620px;
    text-align: right;
    padding-bottom: 20px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,.15);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: .85rem;
    font-weight: 700;
    margin-bottom: 20px;
    backdrop-filter: blur(6px);
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 20px;
}

    .hero-text h1 span {
        color: #00A3E0;
    }

.hero-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: .95;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* أزرار */
.btn-hero {
    padding: 14px 34px;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    transition: .3s;
}

    .btn-hero.primary {
        background: #00A3E0;
        color: #fff;
    }

        .btn-hero.primary:hover {
            background: #fff;
            color: #002D72;
            transform: translateY(-3px);
        }

    .btn-hero.outline {
        border: 2px solid rgba(255,255,255,.7);
        color: #fff;
    }

        .btn-hero.outline:hover {
            background: #fff;
            color: #002D72;
        }

/* القص السفلي */
.hero-cut {
    display: none !important;
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 160px;
    background: #fff;
    clip-path: ellipse(75% 100% at 50% 100%);
}

/* ================= FLOATING CARDS ================= */
.hero-floating-cards {
    position: relative;
    margin-top: -110px;
    z-index: 10;
    padding-bottom: 60px;
}

.float-card {
    background: #fff;
    border-radius: 22px;
    padding: 35px 20px;
    text-align: center;
    text-decoration: none;
    color: #002D72;
    box-shadow: 0 25px 45px rgba(0,45,114,.12);
    transition: .4s;
    display: block;
    height: 100%;
}

    .float-card i {
        font-size: 2rem;
        color: #00A3E0;
        margin-bottom: 15px;
    }

    .float-card h6 {
        font-weight: 800;
        margin: 0;
    }

    .float-card:hover {
        transform: translateY(-12px);
        box-shadow: 0 35px 60px rgba(0,45,114,.2);
        color: #00A3E0;
    }

/* ================= MOBILE ================= */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text {
        text-align: center;
        margin: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-cut {
        height: 90px;
        clip-path: ellipse(90% 100% at 50% 100%);
    }

    .hero-floating-cards {
        margin-top: -70px;
    }

    /* hero-pro mobile overrides معرّفة في responsive block أعلاه */
}



